﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WebApplication.AppCode
{
    public class Helper
    {
        public static bool AllowAccess()
        {
            if (HttpContext.Current.Session["UserInfo"] == null && HttpContext.Current.Request.Cookies["UserInfo"] == null)
            {
                return false;
            }
            return true;
        }
    }
}